package com.admin.mapper;

import com.admin.model.SensitiveWords;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SensitiveWordsMapper {
    // 添加敏感词
    void insert(SensitiveWords sensitiveWords);

    // 根据 ID 删除敏感词
    void deleteById(Integer id);

    // 分页查询敏感词
    List<SensitiveWords> selectByPage(@Param("offset") int offset, @Param("limit") int limit);
}
